﻿
using System.Data.Entity.ModelConfiguration;
using ProjetoComperio.DataLayer.Entities;

namespace ProjetoComperio.DataLayer.Configuration
{
    public class PlatformConfiguration : EntityConfiguration<Platform>
    {
        public PlatformConfiguration()
        {
            Property(p => p.PlatformID).IsIdentity();
            MapHierarchy(
               p => new
               {
                   p.PlatformID,
                   p.Description,
                 
               }
               ).ToTable("Platform");
        }
    }
}
